<include file="Public/Header" />
<link type="text/css" rel="stylesheet" href="__CSS__/jquery-tag.css" />
<table width="100%" height="31px" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31">
			<div class="titlebt">
				通币发行
			</div>
		</td>
      </tr>
    </table>

<div class="main">

	<div class="form">
		<form method='post' id="form_do" name="form_do" action="{:U('Finance/Release')}">
			<input type="hidden" name="hash" value="{$hash}" />
			<dl>
				<dt><span><a href="{:U('Finance/ViewReleaseLog')}" style="color:blue; text-decoration: underline;">查看发行日志</a></span></dt>
			</dl>
			<dl>
				<dt> <span class="red">* </span>累积已发行通币：</dt>
				<dd>
					<span type="text" class="inp_one" style="border: none;">{$countsum}</span>
				</dd>
			</dl>
			<dl>
				<dt> <span class="red">* </span>可售通币余额：</dt>
				<dd>
					<span type="text" class="inp_one" style="border: none;">{$current}</span>
				</dd>
			</dl>
			<dl>
				<dt> <span class="red">* </span>发行量：</dt>
				<dd>
					<input type="text" name="number" class="inp_one" id="number" placeholder="请填写发行量" />
				</dd>
			</dl>
			<dl>
				<dt>备注：</dt>
				<dd>
					<textarea name="remark" cols="50" rows="5" placeholder="这里可以输入备注信息"></textarea>
				</dd>
			</dl>
			<div class="form_b">
				<input type="submit" class="btn_blue" id="releaseBtn" value="确认发行">
			</div>
	   </form>
	</div>
</div>
<include file="Public/Copyright" />
<script type="text/javascript" src="__SCRIPT__/jquery-tag-select.js"></script>
<script type="text/javascript">
	$('#releaseBtn').click(function(){
		var number = parseInt($.trim($('#number').val()));
		if( ! number > 0 ){
			alert('请确认您要发行的通币数量');
			return false;
		}

		if(! window.confirm('您确认要发行'+number+'个通币吗？')){
			return false;
		}
	});
</script>
</body>
</html>
